home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 2
/
Apprentice-Release2.iso
/
Source Code
/
C
/
Frameworks
/
TransSkel 3.18
/
Source
/
Dialog Item Stuff
/
SkelSetDlogStr.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-02-20
|
305 b
|
19 lines
|
[
TEXT/KAHL
]
/*
* Set text of a dialog item. The value is passed or returned
* as a string, not a buffer/length combination.
*/
# include "TransSkel.h"
pascal void
SkelSetDlogStr (DialogPtr d, short item, StringPtr str)
{
short type;
Handle h;
Rect r;
GetDItem (d, item, &type, &h, &r);
SetIText (h, str);
}